package singleton.hungry;

/**
 * 静态代码块
 * 适合复杂实例化，初始化可以做很多事比如读取配置啥的
 * 线程安全
 */
public class Singleton3 {
     public static final Singleton3 INSTANCE;

     static {
          INSTANCE = new Singleton3();
     }

     private Singleton3(){}
}
